<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // var li = document.querySelectorAll("li")
        // for (var key in li) {
        //     key[li].innerHTML("<input type= 'text'/>")
        // }
        var list = [10, 23, 234, 139, 23, 2412, 23, 3, 3, 10]
        // list.replace(10, 20)
        // console.log(nast);
        var nastey = list.sort(function (a, b) {
            return b - a
        })
        console.log(nastey);
        console.log(Math.min(1890, 7623, 27834, 12234, 23, 241342, 9823));
        console.log(Math.max(1890, 7623, 27834, 12234, 23, 241342, 9823));
        var kst = list[0]
        for (var i = 1; i < list.length; i++) {
            if (kst < list[i]) {
                kst = list[i]
            }
        }
        var time = new Date()
        var sjc = time.getTime()
        console.log(sjc);
        var nas = time - sjc
        console.log(nas);
        // console.log(list);
        // for (var key in list) {
        //     console.log(list[key]);
        // }
    </script>
</body>

</html>